package edu.ncsu.csc.ip.routing.dv;

/**
 * Class <code>RouteEntity</code>
 * 
 * RouteEntity is a bean that contains the next node to destination and total
 * weight to that destination.
 * 
 * @author Moin Ayazifar <mayazif@ncsu.edu>
 * @author Steven Elliott <sdelliot@ncsu.edu>
 * 
 */

public final class RouteEntity {
	public RouteEntity(Node nextNode, double weight) {
		this.weight = weight;
		this.nextNode = nextNode;
	}

	public double weight;
	public Node nextNode;
}
